<?php


namespace App\Http\Controllers\android\model;


use Illuminate\Support\Facades\DB;

class BrowserModel
{
    public static function queryWhereGet($where,$field){
        return DB::table('t_browser')->where($where)->get($field);
    }

    public static function queryGet($where,$field){
        return DB::table('t_browser')->where($where)->get($field);
    }

    public static function queryLikeGet($where,$field){
        return DB::table('t_browser')->where("$where[field]",'like','%'.$where["$where[field]"].'%')->get($field);
    }
}